import Vue from 'vue'
import VueRouter from 'vue-router'
Vue.use(VueRouter)

import index from '@/components/index'
import login from '@/components/login'

import articleIndex from '@/components/article/index'

export default new VueRouter({
  routes: [{
    path: '/',
    name: 'index',
    component: index
  }, {
    path: '/login',
    name: 'login',
    component: login
  }, {
    path: '/article',
    name: 'articleIndex',
    component: articleIndex
  }]
})
